package es.us.lsi.mwm;

public class ClassA {
    private String a;
    private String b;


   

    public ClassA() {
        super();
    }

    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }
    
    @Override
    public boolean equals(Object object) {
        if (this == object) {
            return true;
        }
        if (!(object instanceof ClassA)) {
            return false;
        }
        final ClassA other = (ClassA) object;
        if (!(a == null ? other.a == null : a.equals(other.a))) {
            return false;
        }
        if (!(b == null ? other.b == null : b.equals(other.b))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        final int PRIME = 37;
        int result = 1;
        result = PRIME * result + ((a == null) ? 0 : a.hashCode());
        result = PRIME * result + ((b == null) ? 0 : b.hashCode());
        return result;
    }
}
